package com.iwhalecloud.bss.kite.cucc.service.route;

import com.iwhalecloud.bss.kite.common.chain.IRequest;
import com.iwhalecloud.bss.kite.cucc.client.dto.inf.InfServContextDTO;
import com.iwhalecloud.bss.kite.cucc.client.dto.pos.KitePosDTO;
import com.iwhalecloud.bss.kite.cucc.service.route.strategy.IInfServStrategy;

/**
 * <Description> <br>
 * 接口服务路由请求参数，用于路由服务策略
 * 
 * @author XXZ<br>
 * @version 1.0<br>
 * @taskId <br>
 * @CreateDate 2020年12月4日 <br>
 * @since R9.0<br>
 * @see com.iwhalecloud.bss.kite.cucc.service.route <br>
 */
public class InfServReqParam implements IRequest {

    /**
     * serialVersionUID <br>
     */
    private static final long serialVersionUID = 7429517701363001873L;

    /**
     * 是否中止执行
     */
    private Boolean abort;

    /**
     * 服务策略
     */
    private IInfServStrategy infServStrategy;

    /**
     * 接口服务上下文
     */
    private InfServContextDTO context;

    /**
     * 下单入参
     */
    private KitePosDTO posDto;

    /**
     * 订单来源
     */
    private String orderSource;

    @Override
    public Boolean getAbort() {
        return abort;
    }

    public void setAbort(Boolean abort) {
        this.abort = abort;
    }

    public IInfServStrategy getInfServStrategy() {
        return infServStrategy;
    }

    public void setInfServStrategy(IInfServStrategy infServStrategy) {
        this.infServStrategy = infServStrategy;
    }

    public KitePosDTO getPosDto() {
        return posDto;
    }

    public void setPosDto(KitePosDTO posDto) {
        this.posDto = posDto;
    }

    public InfServContextDTO getContext() {
        return context;
    }

    public void setContext(InfServContextDTO context) {
        this.context = context;
    }

    public String getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(String orderSource) {
        this.orderSource = orderSource;
    }

}
